package me.aip.mov.exception;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 业务逻辑异常
 */
@Data
@AllArgsConstructor
public class ServiceException extends RuntimeException {
    /**
     * 状态码
     */
    private String code;
    /**
     * 状态信息
     */
    private String message;

    public ServiceException(String message) {
        this.message = message;
    }

}
